package com.matrix.java.chap_04;

import java.util.Scanner;

/*
    字符串处理
 */
public class Ex4_20 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("输入: ");
        String str = input.next();
        System.out.println(str.length());
        System.out.println(str.charAt(0));
        input.close();
    }
}
